package Reminder.view.pages;

import javafx.stage.Stage;
import Reminder.view.Controller;

public class Page {
    Stage stage;
    Controller controller;
    public Page(Stage stage, Controller controller) {
        this.stage = stage;
        this.controller = controller;
    }



    public Stage getStage() {
        return stage;
    }
    public Controller getController() {
        return controller;
    }

    public void setController(Controller controller) {
        this.controller = controller;
    }
    public void showPage(){

        stage.show();
    }
    public void closePage(){
        stage.close();
    }

}
